/*
-----------------------------------------------------------------------------
This source file is part of Labor3D
(Labor 3D Graphics Engine)

Copyright (c) 2009-2020 Rock Mao
* creator : Rock Mao
* created : 2009-5-2   22:29
* filename: LaborRenderSysObjest.cpp
-----------------------------------------------------------------------------
*/
#include "stdafx.h"
#include "../LaborCore.h"
#include "LaborRenderSystem.h"
#include "LaborRenderSysObjest.h"
NAMESPACE_LABOR3D_BEGIN
IMPL_BASE_OBJECT_CLASSID(IRenderSysObject   , IBaseObject);

IMPL_BASE_OBJECT_CLASSID(IRenderSysResource , IBaseObject);
IRenderSysResource::IRenderSysResource(ILRenderSystem* pOwner)
	:IRenderSysObject(pOwner)
{
	m_pRenderSys = pOwner;
}

IRenderSysResource::~IRenderSysResource()
{

}


IRenderSysObject::IRenderSysObject(ILRenderSystem* pOwner)
{
	m_pRenderSys = pOwner;
	if(m_pRenderSys)
	{
		//m_pRenderSys->addRenderObject(this);
	}
}

IRenderSysObject::~IRenderSysObject()
{
	//if(m_pRenderSys)
	//	m_pRenderApi->removeRenderObject(this);
}


NAMESPACE_LABOR3D_END
